package com.sinai.mshab.client.ui.pages;

import com.google.gwt.user.client.ui.Label;

public class SidePanelButton extends Label implements SidePanelItem {

	/**
	 * The unique identifier for this <code>SidePanelButton</code>.
	 */
	String id;

	/**
	 * Creates a new <code>SidePanelButton</code> using <code>text</code> as
	 * it's label. The id of the button is automatically set to <code>text</code>.
	 * 
	 * @param text
	 *            the label of the button.
	 */
	public SidePanelButton(String text) {
		super(text);
		id = text;
		setStyleName("mshabPanelItem");
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

}
